package com.jt.service;

import com.jt.entity.Subject;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface SubjectService {
    List<Subject> queryAll();
    Integer  addsubject(Subject subject);
    Integer  delete(Integer id, Integer status);
    Integer update(Subject subject);
    List<Subject> querybycourseid(Integer courseid);
    List<Subject> querybycontent(String content);
    Subject querybyid(Integer id);
    Integer count();
//
    List<Subject> query(RowBounds rowBounds);
}
